﻿using Orchard.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace Wanda.Cms.Domain.Models
{
    [Serializable, DataContract]
    public class SysMenu : BaseEntity
    {

        /// <summary>
        /// 菜单ID
        /// </summary>
        [DataMember]
        public virtual string MenuId { get; set; }

        /// <summary>
        /// 父级菜单
        /// </summary>
        [DataMember]
        public virtual string ParentMenu { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        [DataMember]
        public virtual string MenuName { get; set; }

        /// <summary>
        /// 0 group 1 item
        /// </summary>
        [DataMember]
        public virtual int MenuType { get; set; }

        /// <summary>
        /// 图标地址
        /// </summary>
        [DataMember]
        public virtual string ImageUrl { get; set; }

        /// <summary>
        /// 跳转地址
        /// </summary>
        [DataMember]
        public virtual string ActionUrl { get; set; }

        /// <summary>
        /// 0 无效 1 有效
        /// </summary>
        [DataMember]
        public virtual int Status { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [DataMember]
        public virtual int Sort { get; set; }

    }
}